Fast incremental updates on Ternary-CAMs for routing lookups and packet classification

نویسندگان

  • Devavrat Shah
  • Pankaj Gupta
چکیده

One popular hardware device for performing fast routing lookups and packet classification is a ternary content-addressable memory (TCAM). A TCAM searches the header of the incoming packet against all entries in the forwarding table or the classifier database in parallel. It keeps the entries in decreasing order of priority of the rules in a classifier, or prefix lengths of the entries in a forwarding table. Keeping the list sorted under addition and deletion of rules in the classifier is an expensive operation, and may takeO(N) memory shift (write) operations in the worst case, whereN is the number of rules in the classifier (or prefixes in the forwarding table). The most common solutions for this problem improve average case, but waste precious TCAM space, and may still run into the worst case. This paper proposes two algorithms to manage the TCAM such that incremental update times remain small in the worst case. Analysis of these algorithms proves the optimality of one, and suggests that of the other, under the respectively imposed constraints. Finally, simulation results on real data from the Internet shows the performance benefits achievable using these algorithms. Keywords—Routing lookups, packet classification, longest prefix matching, optimality, online algorithms.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Power-Efficient TCAM Partitioning for IP Lookups with Incremental Updates

Ternary Content-Addressable Memories (TCAMs) provide a fast mechanism for IP lookups and a simple management for route updates. The high power consumption problem can be resolved by providing a TCAM partitioning technique that selectively addresses smaller portions of a TCAM. This paper proposes a 2-level TCAM architecture using prefix comparison rule to partition the routing table into a numbe...

متن کامل

Fast Routing Table Lookup Using CAMs

This paper investigates fast routing table lookup techniques, where the table is composed of hierarchical addresses such as those found in a national telephone network. The hierachical addresses provide important benefits in large networks; but existing fast routing table lookup technique, based on hardware such as Content Addressable Memory (CAM), work only with flat addresses. We present seve...

متن کامل

Dynamic multi-field packet classification

Emerging Internet applications create the need for advanced packet classifiers. This paper investigates the mechanisms that determine the performance of state-of-the-art multi-field classification methods, and proposes a novel scheme called P2C for packet classification at OC-192 and OC-768 speeds. P2C combines the strengths of embedded memory and ternary CAM technologies to achieve very high s...

متن کامل

PETCAM - A Power Efficient TCAM Architecture for Forwarding Tables

Ternary Content Addressable Memory (TCAM) is a hardware device which can support high-speed table lookups and is an attractive solution for applications such as packet forwarding and classification. We investigate various TCAM architectures recently proposed for TCAM power and memory reduction in packet forwarding and show that far better power and memory performance is possible when we use an ...

متن کامل

Design of fast lookup Content Addressable Memory (CAM) of a Next Generation IPv6 Network Processor

Ideally, the major problem of header lookup in a Next Generation IPv6 Network Processor could be solved by using an appropriately large Content Addressable Memory (CAM) structure containing preprocessed routing and firewall rules. Currently, there are no sufficiently wide CAMs available in the market. As only around 272 bits out of 596 needed can be matched in CAM for IPv6 packet processing, se...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2000